home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
pc_board
/
pcbzippy.zip
/
PCBZIPPY.DOC
next >
Wrap
Text File
|
1992-09-20
|
5KB
|
132 lines
**** PCB-Zippy A zippy scan emulator for PB-Board captured file listings ****
(c) 1992 Michael Ottoson
Shareware registration: $10.00 (plus $2 S&H)
Packing List: PCBZIPPY.DOC This file
Z.EXE The program
SHARWARE.DOC A file about Shareware
Here's the problem: You just captured the file listings from your
favourite PC-Board BBS. You want a list of all the ATM fonts
availabe (for example), but when you use your text viewer's search for
"font" you get all the HP fonts mixed in, and you miss all the entries
that have "ATM" without the word "font".
When you're on-line it's no problem because you can use the zippy scan
to narrow your search with ANDs and ORs and such. Don't you wish you could
use PC-Board's zippy scan on your capture files?
. . . WELL NOW YOU CAN -- THANKS TO *PCB-Zippy*
Here's how it works:
Syntax: z test pattern filename [-options]
**The operators to narrow your search are: & (and) # (or) ! (not)
**The test pattern includes all search items and operators.
**You can scan any number of items, from one to nine separate elements,
separated by any combination of operators.
In the above example, you could use "Z" from the command line
like this:
z atm#font !HP capture.cap
This would list all the files in your capture file (eg capture.cap)
that have either "atm" OR "font" but will not list any that have "HP"
The command line options must come after the filename, and must start
with a hyphen (-). The options available with this release are:
-a List all files
-@ Case sensitive search (default non-case sensitive)
-cN Colour switch, N: 0=off, 1=on (default ON) needs ANSI.SYS
-n Non-stop listing (default pause for screenful)
-f For redirected outputs (">") (read DOS manual for more info
on redirecting output to other
(Non-registered only) than screen)
If you have both -a and a test pattern, all files will still be listed.
The -f switch in the non-registered version is used if you wish to use
the DOS redirected output ">" to send the listing to a file or to the
printer. You must use this switch for redirected outputs or things may
not work right. Eg: If you wanted to print the list from the above example,
you could use:
z atm#font !HP capture.cap -f > LPT1
^^^^
Change LPT1 to the name of a file, and that's where your listing will go.
---------------[Extra options with registered version]-------------------
-b: Search by byte size. Use + for over, - for under, = equal
to. eg: -b:-102400 would only list files under 100K.
-d: Search by date. As above, use +, - ,= before date. (I
know, I know, who would really need the =? Since I had the
+ and the -, it was easy to add the = for the sake of
symetry. Aren't you interested if there are any filed
dated on your birthday?) Format for date: MM-DD-YY. For
example -d:+05-15-92 would only list files dated on or
later than May 16, 1992.
NOTE: -b: and -d: must be used with either a test pattern or -a.
-f: List to filename. Eg: -f:output.txt
-p List to printer (uses PRN) (-f: and -p replace the old
"redirect" switch -f from the non-registered version)
Other improvements in the registered version are improved full
screen handling. If the screen fills and only a portion of the
description is showing, flashing +++'s will appear to notify
you of this. You can then (J)ump to the end of the description.
You can use (J)ump repeatedly to view on description at a time.
Also, in the non-registered version, you couldn't pause the list once
NonStop is selected (either from the command line or from the screen
full menu) Now just hit any key and you will be given the full
screen menu.
Final notes:
***** The only spaces that are required are one space before the
filename and any spaces between the option switches. Spaces
within the test pattern are ignored.
***** Don't use parentheses. This version doesn't support them.
You can usually rewrite the order your operators such that you
don't really need them. I'll try to support parentheses in
the next release.
***** In case you're wondering why # is OR, it's because the | is
reserved in DOS for pipes. Similarly, I used +,- instead of
>,< for byte and date searches because of DOS redirects.
***** This program is Shareware. If you continue to use this program
after 30 days, you must send $10.00 (plus $2 S&H) to the author
at the address below. This will entitle you the next release free,
and a good conscience.
***** Special thanks to Marc Durocher, beta-tester extraordinaire
and all around nagger, and to Gary Lapierre for running the
greatest igloo based BBS this side of the Arctic Circle.
Address suggestions and registration fees to:
Michael Ottoson
141 Birch St. N.
Timmins, Ontario
P4N 6E3